package com.cpi.cornpp.futurepurchase.view;

import java.io.Serializable;

public class CornOriginView implements Serializable {
	private static final long serialVersionUID = -2700459540814799224L;
	private String id;
	private String description;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public boolean equals(Object obj) {
		if(!(obj instanceof CornOriginView)){
			return false;
		}
		CornOriginView ergv = (CornOriginView)obj;		
		return ergv.getId().equals(this.getId());
	}
}